using System;
using System.ComponentModel;
using System.Linq;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace ApiTest.Entitys
{
    /// <summary>
    /// 类型属性关系表
    /// </summary>  
    /// <remarks>
    /// <![CDATA[ENGINE=InnoDB  COMMENT='类型属性关系表']]>
    /// </remarks>
    [DbSource("Default"), Serializable]
    public class GoodsAttributeClassifyRef
    {
        /// <summary>
        /// ref_id
        /// </summary>
        /// <remarks>
        /// <![CDATA[int NOT NULL COMMENT '']]>
        /// </remarks>
        [Primary]
        public int RefId { get; set; }

        /// <summary>
        /// attribute_id
        /// </summary>
        /// <remarks>
        /// <![CDATA[int NOT NULL COMMENT '']]>
        /// </remarks>
        [Column(false)]
        public int AttributeId { get; set; }

        /// <summary>
        /// classfiy_code
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(64) DEFAULT NULL COMMENT '']]>
        /// </remarks>
        [Column(64)]
        public string ClassfiyCode { get; set; }

    }
}
